#include "def.h"
#include "config.h"
#include "windowcontroller.h"
#include "windowview.h"

class Config;
class WindowController;
class WindowView;

int main()
{
	//Config *config;
	WindowController *gWin;

	// Load a configuration file
	//config = new Config(_T("./data/config.ini"));
	//config->setFont();

	gWin = new WindowController(_T("roguelike"), _T("everlasting torch, roguelike"));
	gWin->ShowWindow();

    // This will hide the annoying ConsoleWindow :-)
    // [#define _WIN32_WINNT   0x0500] needs to be declared to use this
    // I will use the ConsoleWindow for debugging
    //ShowWindow( GetConsoleWindow(), SW_HIDE );

    delete gWin;

	return 1;
}
